package mx.com.daycare.business;

import java.util.ArrayList;
import java.util.List;

import javax.ejb.Stateless;

import mx.com.daycare.entity.Course;

/**
 * Session Bean implementation class CourseBL
 */
@Stateless
public class CourseBL implements CourseBLLocal {

	/**
	 * Default constructor.
	 */
	public CourseBL() {

	}

	public List<Course> getCourses() {
		List<Course> courses = new ArrayList<Course>();
		Course courseaa = new Course();
		courseaa.setId(1);
		courseaa.setName("Ingles");
		Course courseab = new Course();
		courseab.setId(2);
		courseab.setName("Pintura");
		Course courseac = new Course();
		courseac.setId(3);
		courseac.setName("Musica");
		Course coursead = new Course();
		coursead.setId(4);
		coursead.setName("Cultura Fisica");
		Course courseae = new Course();
		courseae.setId(5);
		courseae.setName("Matematicas");
		courses.add(courseaa);
		courses.add(courseab);
		courses.add(courseac);
		courses.add(coursead);
		courses.add(courseae);
		return courses;
	}
}
